package com.huopaolan.yohuoshop.Mvp.Contract;

import com.huopaolan.lib_core.Mvp.Model.IModel;
import com.huopaolan.lib_core.Mvp.View.IView;
import com.huopaolan.yohuoshop.Bean.BaseEntity;
import com.huopaolan.yohuoshop.Bean.CommodityDetailsEntity;

import io.reactivex.Observable;

public interface CommodityDetaContract {
    interface CommodityDetaIView extends IView {
        void CommodityDetaSuccess(CommodityDetailsEntity entity);
        void CommodityAddCarSuccess(BaseEntity entity);
    }

    interface CommodityDetaIModel extends IModel {
        Observable<CommodityDetailsEntity> commodity_deta_request(String request);
        Observable<BaseEntity> add_car_request(String request);
    }
}
